import { defineStore } from 'pinia'
export const useComputeMethods = defineStore('ComputeMethods', {
    state: () => ({
        //方案预报编码、结束预报编码
        schemeInfo: {}
    }),
    persist: {
        enabled: true,
        strategies: [{ storage: sessionStorage, paths: ['schemeInfo'] }]
    },
    actions: {}
})
export const useSectionInfo = defineStore('SectionInfo', {
    state: () => ({
        //断面信息
        sectionInfo: []
    }),
    persist: {
        enabled: true,
        strategies: [{ storage: sessionStorage, paths: ['sectionInfo'] }]
    },
    actions: {}
})
export const useUnitInfo = defineStore('UnitInfo', {
    state: () => ({
        //单元打开
        unitShow: false
    })
})
export const useBlkcd = defineStore('blkcd', {
    state: () => ({
        //断面id
        blkcd: '',
        //断面名称
        blknm: '',
        //是否配置
        status: 0,
        //场次id
        ccid: ''
    })
})
